package com.javacode2018.lesson001.demo13.lookupmethod;

/**
 * @Author: hongsir
 * @Date: 2024/10/10 - 10 - 10 - 17:49
 * @Description: com.javacode2018.lesson001.demo13.lookupmethod
 * @Version: 1.0
 */
public class ServiceB {
    public void say() {
        ServiceA serviceA = this.getServiceA();
        System.out.println("this:"+this+",serviceA:"+serviceA);
    }

    public ServiceA getServiceA() { //@1
        return null;
    }
}
